﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A21 RID: 2593
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LeaveChallengeCsReq : IMessage<LeaveChallengeCsReq>, IMessage, IEquatable<LeaveChallengeCsReq>, IDeepCloneable<LeaveChallengeCsReq>, IBufferMessage
	{
		// Token: 0x170020C5 RID: 8389
		// (get) Token: 0x06007425 RID: 29733 RVA: 0x0013679A File Offset: 0x0013499A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LeaveChallengeCsReq> Parser
		{
			get
			{
				return LeaveChallengeCsReq._parser;
			}
		}

		// Token: 0x170020C6 RID: 8390
		// (get) Token: 0x06007426 RID: 29734 RVA: 0x001367A1 File Offset: 0x001349A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LeaveChallengeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020C7 RID: 8391
		// (get) Token: 0x06007427 RID: 29735 RVA: 0x001367B3 File Offset: 0x001349B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LeaveChallengeCsReq.Descriptor;
			}
		}

		// Token: 0x06007428 RID: 29736 RVA: 0x001367BA File Offset: 0x001349BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveChallengeCsReq()
		{
		}

		// Token: 0x06007429 RID: 29737 RVA: 0x001367C2 File Offset: 0x001349C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveChallengeCsReq(LeaveChallengeCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600742A RID: 29738 RVA: 0x001367DB File Offset: 0x001349DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveChallengeCsReq Clone()
		{
			return new LeaveChallengeCsReq(this);
		}

		// Token: 0x0600742B RID: 29739 RVA: 0x001367E3 File Offset: 0x001349E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LeaveChallengeCsReq);
		}

		// Token: 0x0600742C RID: 29740 RVA: 0x001367F1 File Offset: 0x001349F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LeaveChallengeCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600742D RID: 29741 RVA: 0x00136810 File Offset: 0x00134A10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600742E RID: 29742 RVA: 0x00136836 File Offset: 0x00134A36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600742F RID: 29743 RVA: 0x0013683E File Offset: 0x00134A3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007430 RID: 29744 RVA: 0x00136847 File Offset: 0x00134A47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007431 RID: 29745 RVA: 0x00136860 File Offset: 0x00134A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007432 RID: 29746 RVA: 0x00136886 File Offset: 0x00134A86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LeaveChallengeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007433 RID: 29747 RVA: 0x001368A3 File Offset: 0x00134AA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007434 RID: 29748 RVA: 0x001368AC File Offset: 0x00134AAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002C61 RID: 11361
		private static readonly MessageParser<LeaveChallengeCsReq> _parser = new MessageParser<LeaveChallengeCsReq>(() => new LeaveChallengeCsReq());

		// Token: 0x04002C62 RID: 11362
		private UnknownFieldSet _unknownFields;
	}
}
